package com.chenfan.mcn.model;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;

import com.chenfan.mcn.model.base.BaseSaveEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 优惠价格梯度
 * </p>
 *
 * @author lizhejin
 * @since 2021-01-07
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("platform_discount_range")
public class PlatformDiscountRange extends BaseSaveEntity {


    private static final long serialVersionUID = 7507609275826895522L;

    /**
     * 折扣审批单id
     */
    private Long discountId;

    /**
     * 发布平台(数据字典)(逗号分隔)
     */
    private String platformIds;

    /**
     * 起始金额(不包含)
     */
    private BigDecimal startAmount;

    /**
     * 结束金额(不包含)
     */
    private BigDecimal endAmount;

    /**
     * 折扣比例
     */
    private BigDecimal discountRate;

    /**
     * 返点比例
     */
    private BigDecimal rebateRate;


}
